package com.zhc.dejingapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-09-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("qing_zb_eq_load_table")
@ApiModel(value = "QingEqLoadTableEntity对象", description = "")
public class QingZbEqLoadTableEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "main_id", type = IdType.AUTO)
    private Long mainId;

    @ApiModelProperty("设备类型编号")
    @TableField("eq_type_code")
    private String eqTypeCode;

    @ApiModelProperty("设备类型名称")
    @TableField("eq_type_name")
    private String eqTypeName;

    @ApiModelProperty("计划开始时间")
    @TableField("plan_start_time")
    private LocalDateTime planStartTime;

    @ApiModelProperty("计划结束时间")
    @TableField("plan_end_time")
    private LocalDateTime planEndTime;

    @ApiModelProperty("本月生产天数")
    @TableField("pro_days")
    private Integer proDays;

    @ApiModelProperty("本月生产数量")
    @TableField("current_output")
    private Integer currentOutput;

    @ApiModelProperty("本月生产所需时间")
    @TableField("work_need_time")
    private Float workNeedTime;

    @ApiModelProperty("设备可用时间")
    @TableField("eq_use_time")
    private Integer eqUseTime;

    @ApiModelProperty("负荷比例")
    @TableField("load_ratio")
    private Float loadRatio;

    @TableField("time")
    private Date time;


}
